home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-01-21 | 1.0 KB | 39 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH 1"="Startup/Shutdown\Startup\Windows 9x/ME\62) After Login Window"
- "NAME"="Domain Controller (DC) Message"
- "VERSION"="2.00"
- "OSVERSION"="10101"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Show message if DC was successfully found"
- "DESCRIPTION 1"="Activate "Show message if DC successfully found" to see a message if Windows has successfully connected to a domain controller"
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sV1="HKLM\Network\Logon\DomainLogonMessage"
- sV2="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\ReportDC"
-
- Sub Plugin_Initialize
- i=RegReadValue(sV1)
- if i=1 then SetUIElement 1,true
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sV1,"1",2)
- else
- Call RegWriteValue(sV1,"0",2)
- end if
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-